package com.example.day19_7_19_1.net;

import com.example.day19_7_19_1.bean.ItemBean;
import com.example.day19_7_19_1.bean.TabBean;

import java.util.HashMap;

import io.reactivex.Flowable;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;
import retrofit2.http.QueryMap;

public interface ApiService {
    String itemUrl = "https://www.wanandroid.com/";

    @GET("project/list/1/json?")
    Flowable<ItemBean> getData(@Query("cid") int id);

    String tabUrl = "https://www.wanandroid.com/";

    @GET("project/tree/json")
    Flowable<TabBean> getTabData();
}
